package cn.csc.module.pay.controller.admin.rate.vo;

import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.annotations.*;
import cn.csc.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 见证宝提现手续费率分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PayJzbRatePageReqVO extends PageParam {

    @ApiModelProperty(value = "字典类型, 1:商户费率,2:分账费率")
    private String dicType;

    @ApiModelProperty(value = "字典数据")
    private String dicData;

    @ApiModelProperty(value = "商户编号")
    private Long merchantId;

    @ApiModelProperty(value = "手续费率，见证宝提现时用到")
    private BigDecimal rate;

    @ApiModelProperty(value = "是否默认手续费率")
    private Boolean isDefault;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
